import request from '@/utils/request'
// 教研管理List
export function teachingResearchListApi(query) {
  return request({
    url: '/jsjx/teachingResearch/list',
    method: 'get',
    params: query
  })
};
// 教研管理ById
export function teachingResearchByIdApi(id) {
  return request({
    url: `/jsjx/teachingResearch/${id}`,
    method: 'get',
  })
};
// 教研管理Add
export function teachingResearchAddApi(data) {
  return request({
    url: '/jsjx/teachingResearch',
    method: 'post',
    data
  })
};
// 教研管理Edit
export function teachingResearchEditApi(data) {
  return request({
    url: '/jsjx/teachingResearch',
    method: 'put',
    data
  })
};
// 教研管理Del
export function teachingResearchDelApi(id) {
  return request({
    url: `/jsjx/teachingResearch/${id}`,
    method: 'delete',
  })
};

// 实践成果
export function queryCountByResearchTypeApi(query) {
  return request({
    url: '/jsjx/teachingResearch/queryCountByResearchType',
    method: 'get',
    params: query
  })
};